package com.ihelp.controller;

import com.ihelp.util.EsUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/test")
public class Atest {
    @Autowired
    EsUtil esUtil;

    @RequestMapping("/1")
    public void test1() throws Exception {
        //创建索引
//        esUtil.index.create();
    }


}
